import React, { Component } from 'react'
import "../assets/styles/header.css";
// import logo from "../assets/images/logo-250px.645f24b5.png"
// const img = require("../assets/images/logo-250px.645f24b5.png")

export default class Header extends Component {
  state = {
    img:"./logo-250px.645f24b5.png"
  }
  render() {
    return (
      <div className='header'>
        {/* <img src={logo} alt="" /> */}
        <img src={require(`${this.state.img}`)} alt="" />
        {/* <h2 style={{color:"red"}}>优惠券</h2> */}
      </div>
    )
  }
}
